HADOOP-19668. Add SubjectInheritingThread and update Daemon to restore pre JDK22 Subject behaviour in Threads#8061
Conversation
…e pre JDK22 Subject behaviour in Threads
pan3793
left a comment
There was a problem hiding this comment.
LGTM, cc @steveloughran @slfan1989
|
💔 -1 overall
This message was automatically generated. |
I’ve shared my feedback in #7892. I’m giving this PR a soft +1, but I think we should remain patient for now. Thanks again for everyone’s efforts. |
|
@stoty Could we also include the Javadoc updates and the new SpotBugs fixes? Thanks a lot! |
|
I've checked the reported Javadoc errors, both are for files that I haven't touched. |
|
I've also checked the two new SpotBugs warnings. |
|
ok, going with the approval. |
|
@stoty ok, merged. please do the next stage |
|
Thanks a lot @steveloughran . |
|
awesome, thanks @stoty and all! |
|
ok, having merged it, I can see the javadocs are unhappy you need a # in front of the work() and run() calls. |
|
I have added the hashmarks, and added another missing commit to SubjectUtil in #8062 , @steveloughran . However, I wasn't able to find the error you mentioned. Where/How did you find the javadoc errors/warnings you mentioned ? |
|
my IDE is flagging it in SubjectInheritingThread; only thing I'd noticed |
Description of PR
First part of HADOOP-19574.
Add SubjectInheritingThread and update Daemon, but only update the classes using Daemon
How was this patch tested?
Tested together with HADOOP-19670.
Ran the full test suite with JDK25, and confirmed that it does not cause regressions
(i.e. only tests which also fail with Java 17 fail with Java 25)
For code changes:
LICENSE,LICENSE-binary,NOTICE-binaryfiles?